package org.tity.test.redis;

/**
 * 参考  https://lettuce.io/core/5.1.3.RELEASE/reference/
 * 
 * https://github.com/alibaba/jetcache/wiki/RedisWithLettuce_CN
 * 
 * */
public class LettuceClusterClient {

	public static void main(String[] args) {
        // Syntax: redis://[password@]host[:port]
//        RedisClusterClient redisClient = new RedisClusterClient(RedisURI.create("redis://password@localhost:7379"));
//        RedisAdvancedClusterConnection<String, String> connection = redisClient.connectCluster();
//
//        System.out.println("Connected to Redis");

//        connection.close();
//        redisClient.shutdown();
    }
	
}
